//======================================================================================
//  Notes:Use this command to anonymously check out the latest project source code:
//  Non-members may check out a read-only working copy anonymously over HTTP.
//  http://YHQCodingWsp.googlecode.com/svn/trunk/
//
//  Author:		Kevin Yang
//  Email:		Bigearrabbit@qq.com
//
//  DATE:		2013-4-16
//
//  File Name:	YHQSvnFolderAdd.h
//
//  Notes:
//
//======================================================================================

#ifndef YHQSvnFolderAdd_H
#define YHQSvnFolderAdd_H

//local library
#include "YHQCodingCore_Global.h"
#include "YHHPropertyDefine.h"

#include <QString>
#include <QTextEdit>
#include <QStringList>

/// <summary>YHQSvnFolderAdd</summary>
/// <remarks></remarks>
/// <author>Kevin Yang</author>
/// <date>2013-4-20</date>
class YHQCodingCore_SHARED_EXPORT YHQSvnFolderAdd
{
public:
    YHQSvnFolderAdd();

public:

    /// <summary>OutTextEdit</summary>
    /// <remarks></remarks>
    /// <author>Kevin Yang</author>
    /// <date>2013-4-20</date>
    YHHPropertyDefinePointerGetGetSet(OutsideTextEdit, QTextEdit);

    /// <summary>List of ignore</summary>
    /// <remarks></remarks>
    /// <author>Kevin Yang</author>
    /// <date>2013-4-23</date>
    YHHPropertyDefineGetGetSet(ListOfIgnore,  QStringList);

    /// <summary>List of Delete</summary>
    /// <remarks></remarks>
    /// <author>Kevin Yang</author>
    /// <date>2013-4-23</date>
    YHHPropertyDefineGetGetSet(ListOfIgnoreFile,  QStringList);

public:

    /// <summary>Svn Initial Add</summary>
    /// <param name="iFolderDir">Folder Dir</param>
    /// <remarks></remarks>
    /// <author>Kevin Yang</author>
    /// <date>2013-4-22</date>
    bool SvnInitialAddTop(const QString & iFolderDir);

    bool SvnInitialAddSingle(const QString &iFolderDir, QString &iotextForAdd);
    bool SvnInitialAdd(const QString &iFolderDir);
};

#endif // YHQSvnFolderAdd_H
